home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ für Kids
/
C++ for kids.iso
/
SETUP
/
US
/
CBUILDER
/
DATA.Z
/
STDCOMP.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-13
|
34KB
|
1,153 lines
#ifndef __STDRWCOMPILER_H__
#define __STDRWCOMPILER_H__ 1
/* $Revision: 8.3 $ */
/***************************************************************************
*
* Compiler and system related foibles and directives
*
* $Id: stdcomp.in,v 1.114 1995/10/03 17:26:32 smithey Exp $
*
***************************************************************************
*
* (c) Copyright 1994, 1995 Rogue Wave Software, Inc.
* ALL RIGHTS RESERVED
*
* The software and information contained herein are proprietary to, and
* comprise valuable trade secrets of, Rogue Wave Software, Inc., which
* intends to preserve as trade secrets such software and information.
* This software is furnished pursuant to a written license agreement and
* may be used, copied, transmitted, and stored only in accordance with
* the terms of such license and with the inclusion of the above copyright
* notice. This software and information or any other copies thereof may
* not be provided or otherwise made available to any other person.
*
* Notwithstanding any other lease or license that may pertain to, or
* accompany the delivery of, this computer software and information, the
* rights of the Government regarding its use, reproduction and disclosure
* are as set forth in Section 52.227-19 of the FARS Computer
* Software-Restricted Rights clause.
*
* Use, duplication, or disclosure by the Government is subject to
* restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
* Technical Data and Computer Software clause at DFARS 252.227-7013.
* Contractor/Manufacturer is Rogue Wave Software, Inc.,
* P.O. Box 2328, Corvallis, Oregon 97339.
*
* This computer software and information is distributed with "restricted
* rights." Use, duplication or disclosure is subject to restrictions as
* set forth in NASA FAR SUP 18-52.227-79 (April 1985) "Commercial
* Computer Software-Restricted Rights (April 1985)." If the Clause at
* 18-52.227-74 "Rights in Data General" is specified in the contract,
* then the "Alternate III" clause applies.
*
**************************************************************************/
/****************************************************************
****************************************************************
* *
* U S E R T U N A B L E S E C T I O N *
* *
****************************************************************
****************************************************************/
/*
* This section has various preprocessor constants that can
* be set to reflect the properties of your compiler. For most
* compilers (particularly, MS-DOS compilers) there is no need
* to do anything --- most settings can be autodetected.
*
* For many Unix compilers you may have to tune the settings below.
* This is most easily done by running the "config" shell script
* which will try various test programs to discover the properties
* of your compiler.
*
* THIS IS FAR EASIER THAN SETTING THESE BY HAND!
*/
/*
* AT&T "CFRONT" USERS
*/
/*
* Most compilers have a built in "manifest constant".
* For the following compilers you must supply one by uncommenting
* an appropriate line:
*
* AT&T cfront V2.X: __ATT2__
* AT&T cfront V3.0: __ATT3__
*/
/* #define __ATT2__ 1 */
/* #define __ATT3__ 1 */
/**
** *** ALL USERS ***
**/
#define RWSTD_NOMSG 0x00
#define RWSTD_CATGETS 0x01
#define RWSTD_GETTEXT 0x02
#define RWSTD_DGETTEXT 0x03
/*
* Set RWSTD_MESSAGE to the type of messaging facility you want:
* RWSTD_NOMSG No messaging facility
* RWSTD_CATGETS Use catgets()
* RWSTD_GETTEXT Use gettext()
* RWSTD_DGETTEXT Use dgettext()
*/
#define RWSTD_MESSAGE RWSTD_NOMSG
#if !defined( __TURBOC__) && !defined(_MSC_VER)
/******************** COMPILER WORD SIZES, ETC ********************/
/*
* Uncomment the following and set to the number of decimal digits
* of precision for type double.
* If you do nothing, the default will be 16.
*/
/* #define RWSTD_DEFAULT_PRECISION 16 */
/*************** COMPILER QUIRKS AND LIMITATIONS ******************/
/*
* Uncomment the following if your compiler does not support
* exceptions.
*/
/* #define RWSTD_NO_EXCEPTIONS 1 */
/*
* Uncomment the following if your compiler does not support
* exceptions specifications.
*/
/* #define RWSTD_NO_EX_SPEC 1 */
/*
* Uncomment the following if your compiler does not support
* throwing of exceptions from a shared library.
*/
/* #define RWSTD_NO_THROW_WITH_SHARED 1 */
/*************************** TEMPLATES **********************************/
/*
* Uncomment the following if your compiler does not instantiates only those
* functions, member functions, classes or member classes that are
* required; i.e. your compiler instantiates things that your program
* doesn't actually use.
*/
/* #define RWSTD_NO_STRICT_TEMPLATE_INSTANTIATE 1 */
/*
* Uncomment the following if your compiler does template
* instantiation at compile time.
*/
/* #define RWSTD_COMPILE_INSTANTIATE 1 */
/*************************** STRINGS ****************************/
/*
* Uncomment the following if your sprintf() does not
* return the size of the buffer as an int, as ANSI C requires.
*/
/* #define RWSTD_NO_ANSI_SPRINTF 1 */
/*
* Uncomment the following if your compiler does not have the
* ANSI C function memmove().
*/
/* #define RWSTD_NO_MEMMOVE 1 */
/****************** INTERNATIONALIZATION ************************/
/*
* Uncomment the following if your compiler does not support
* wide characters strings (e.g., functions wslen(), etc.).
*/
/* #define RWSTD_NO_WSTR 1 */
/*
* Uncomment the following if the type wchar_t is just a typedef,
* instead of a distinct type.
*/
/* #define RWSTD_NO_OVERLOAD_WCHAR 1 */
/*
* Uncomment the following if your compiler does not support
* the ANSI C locale facility fully, or if it does not support
* it at all (in particular, uncomment if setlocale(), strxform(),
* or strcoll() are not present or don't work).
*/
/* #define RWSTD_NO_LOCALE 1 */
/*
* Uncomment the following if your compiler does not have
* the %C directive to strftime().
*/
/* #define RWSTD_NO_STRFTIME_CAPC 1 */
/************************** TIME ********************************/
/*
* Uncomment the following if your compiler does not have global
* variables "_daylight", "_timezone", and "_tzname", or corresponding
* variables without a leading underscore (generally
* this is true only for pure Berkeley systems).
*/
/* #define RWSTD_NO_GLOBAL_TZ 1 */
/*
* Uncomment the following if your system supplies a global variable
* named "daylight" instead of the nominally more correct "_daylight".
*/
/* #define RWSTD_NO_LEADING_UNDERSCORE 1 */
/*
* If your system does not have global variables "daylight" and
* "timezone" (see directive immediately above) and does not have
* the Berkeley function gettimeofday() either, then uncomment
* the following:
*/
/* #define RWSTD_NO_GETTIMEOFDAY 1 */
/*
* If the struct tm defined in your <time.h> has extra member data
* "tm_zone" and "tm_gmtoff" (this is true for SunOs 4.X), then you
* should uncomment the following:
*/
/* #define RWSTD_STRUCT_TM_TZ 1 */
/************************** STANDARD LIBRARY ****************************/
/*
* Uncomment the following if your compiler does not support the bool type.
* This means that bool is not a unique type.
*/
/* #define RWSTD_NO_BOOL 1 */
/*
* Uncomment the following if your compiler does not support default
* templates. e.g:
* template<class T = int> ...
*/
/* #define RWSTD_NO_DEFAULT_TEMPLATES 1 */
/*
* Uncomment the following if your compiler doesn't support ~T()
* where T is a builtin.